Circuit design system and method of generating hierarchical block-level timing constraints from chip-level timing constraints

ABSTRACT

A system and method of designing an integrated circuit capable of deriving timing constraints for individual block-level circuits of an integrated circuit that are derived from the chip-level timing constraints and analysis. The block-level timing constraints are in the form of one or more logical timing constraint points at the input and output ports of block-level circuits. Each logical timing constraint points specifies a clock source used to clock data through the port, a delay parameter specifying data propagation delay backward from an input port and forward from an output port, and any timing exception associated with the data path. Using the logical timing constraint point, the circuit design system performs independent timing analysis and optimization of each block-level circuit. The system then reassembles the block-level circuits into a modified chip-level circuit for which timing closure can be achieved.

CROSS-REFERENCE TO RELATED APPLICATION

This non-provisional United States (U.S.) patent application is a divisional and claims the benefit of U.S. patent application Ser. No. 11/621,915 entitled SYSTEM AND METHOD OF GENERATING HIERARCHICAL BLOCK-LEVEL TIMING CONSTRAINTS FROM CHIP-LEVEL TIMING CONSTRAINTS filed on Jan. 10, 2007 by Oleg Levitksy et al, now allowed, which is incorporated herein by reference.

FIELD OF THE INVENTION

This invention relates generally to integrated circuit design systems, and in particular, to a system and method of generating hierarchical block-level timing constraints from chip-level timing constraints.

BACKGROUND OF THE INVENTION

Integrated circuits have become extremely large and complex, typically including millions of components. It follows then that the design of integrated circuits is also very complex and time consuming, involving synthesizing, analyzing and optimizing many circuit parameters. Because of this complexity, electronic design automation (EDA) systems have been developed to assist designers in developing integrated circuits at multitude levels of abstraction.

In many cases, an integrated circuit under development may be so complex that even EDA systems have difficulties in achieving design closure within a reasonable time period. Thus, there is a need for a system and method to reduce the time required to achieve design closure in the design of integrated circuits.

SUMMARY OF THE INVENTION

The invention is summarized by the claims that follow below.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a block diagram of an exemplary system for designing integrated circuits in accordance with an embodiment of the invention;

FIG. 2 illustrates a block diagram of exemplary software modules used in the exemplary integrated design system in accordance with another embodiment of the invention;

FIG. 3A illustrates a flow diagram of an exemplary method of determining a logical timing constraint point at a port of a hierarchical block-level circuit in accordance with another embodiment of the invention;

FIG. 3B illustrates a flow diagram of an exemplary method of determining a delay parameter of a logical timing constraint point in accordance with another embodiment of the invention;

FIGS. 4A-C illustrate schematic diagrams of an exemplary chip-level circuit and corresponding exemplary block-level circuits in accordance with another embodiment of the invention;

FIGS. 5A-C illustrate schematic diagrams of an exemplary chip-level circuit and corresponding exemplary block-level circuits in accordance with another embodiment of the invention;

FIGS. 6A-C illustrate schematic diagrams of an exemplary chip-level circuit and corresponding exemplary block-level circuits in accordance with another embodiment of the invention;

FIG. 7 illustrates a block diagram of an exemplary integrated circuit depicting an exemplary hierarchy of instantiation; and

FIG. 8 illustrates an exemplary tree diagram of an integrated circuit illustrating different levels of hierarchy.

DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

In the following detailed description of the embodiments of the invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be obvious to one skilled in the art that the embodiments of the invention may be practiced without these specific details. In other instances well known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments of the invention.

FIG. 1 illustrates a block diagram of an exemplary circuit design system 100 for designing integrated circuits in accordance with an embodiment of the invention. As discussed in more detail below, the circuit design system 100 is capable of generating timing constraints for individual hierarchical blocks of an integrated circuit that are derived from the chip-level timing constraints and analysis. Using the chip-level timing constraints and analysis, the circuit design system 100 is capable of generating block-level timing constraints and analysis to produce block-level circuits that when are assembled into the entire chip, timing closure for the entire chip can be achieved. The block-level timing constraints are in the form of one or more logical timing constraint points associated with a port of a block-level circuit. This is better explained with reference to the following exemplary embodiments.

In particular, the circuit design system 100 may be configured as a computer system comprising one or more processors 102, a user interface 104, and a memory 106. Under the control of one or more software modules, the one or more processors 102 performs the various operations of the circuit design system 100, including logic synthesis, chip-level floor planning, place and route, chip partitioning, block implementation, chip assembly and top-level implementation, and circuit sign-off verification. The one or more processors 102 may be any type of data processing device, including microprocessors, microcontrollers, reduced instruction set computer (RISC) processors, networked computer systems, etc.

The user interface 104 allows a user to send and receive information to and from the processor 102, as well as control the various operations performed by the processor 102. For example, the user interface 104 may comprise one or more input devices, such as a keyboard, a pointing device (e.g., a mouse, a track ball), a touch-sensitive display, microphone, etc. The user interface 104 may also comprise one or more output devices, such as a display (including a touch-sensitive display), speakers, etc. Using the one or more input devices of the user interface 104, a user may specify an input circuit description in any of a number of formats, including in a hardware description language (HDL), such as VHDL or Verilog, or in a resistor-transistor logic (RTL) language. Using one or more output devices of the user interface 104, a user may view the results of the circuit design operation performed by the processor 102. The user may also control the circuit design operations performed by the processor 102 using the user interface 104.

The memory 106 may be any one or more computer readable mediums (e.g., RAM, ROM, magnetic hard disks, optical storage discs, etc.) for storing one or more software modules that control the processor 102 to perform its various operations, as well as information that the processor 102 uses in performing the circuit design process described herein. Such information may include the input circuit description specified by a user, the input circuit netlist generated by a logic synthesis operation, the chip-level physical and timing constraints, place and route data including chip-level timing analysis generated by a place and route operation, block definitions including block-level physical and timing constraints generated by a chip partitioning operation, block implementations generated by a block implementation operation, and the modified circuit specification generated by a chip assembly and top-level implementation operation, and verified by a circuit sign-off verification operation.

Referring now to FIG. 7, the embodiments of the invention are used to design an integrated circuit, such as an exemplary integrated circuit 700. The integrated circuit 700 can be represented in a number of different ways. One representation of the integrated circuit 700 is by a hierarchical netlist with different levels of hierarchy including macro-blocks or modules, blocks, sub-blocks, and leaf-cells or gates. The levels of hierarchy often include a top-level or chip level; one or more block-levels, and a cell or leaf level as illustrated in the exemplary hierarchy tree of FIG. 8. The cells at the leaf cell level of hierarchy may include transistors that may make up one or more logical gates.

At a top-level, the integrated circuit 700 includes one or more cells 701-703 and one or more upper-level blocks 710A-710N, for example. The upper level block 710A may include one or more lower level blocks 711A-711C. The upper level block 710N may include one or more cells 751-760 and one or more lower level blocks 740-741. The lower level blocks may include additional blocks or leaf cells. For example, blocks 711A-711C respectively include leaf cells 724A-724N; leaf cells 725A-725N, and leaf cells 726-730. In a block, the same leaf cell may be instantiated numerous times, such as a D flip flop to make up a register, for example. In block 711A, the same cell C4 is instantiated N times as leaf cells 724A-724N. In another block, different leaf cells may be instantiated depending upon the desired logical functionality.

Alternatively, the integrated circuit 700 may be represented by a flattened netlist of leaf-cells or gates without any added levels of hierarchy. The block level hierarchy is not used so that all design details of the integrated circuit are visible at the top level.

A flattened netlist of an integrated circuit 700 is typically used to perform chip-level timing analysis as entire data paths with their delay elements being more visible. However, timing closure by an EDA tool may be more difficult to obtain with a flattened netlist on an entire integrated circuit. Additionally, one computer system is typically used to perform a timing analysis on a flattened netlist as it is difficult to share the computational load of a flattened netlist with other networked computers. With a limited amount of computer resources, the time to perform a timing analysis of an entire integrated circuit chip may be quite long given today's complicated integrated circuits. In contrast with a hierarchical netlist of an integrated circuit, block-level timing analyses can be independently performed on a block by block basis using block level timing requirements. The block-level timing analyses can be shared amongst a plurality of networked computer systems so that it can be performed independently in parallel and achieve timing results for the overall integrated circuit chip sooner.

FIG. 2 illustrates a block diagram of an exemplary software suite 200 used by the circuit design system 100 in performing its circuit design function in accordance with another embodiment of the invention. The software suite 200 includes a logic synthesis module 202, a chip-level floor planning module 204, a place and route module 206, a chip partitioning module 208, a block implementation module 210, a chip assembly and top-level implementation module 212, and a circuit sign-off verification module 214.

The logic synthesis module 202 generates a gate-level netlist from an input circuit description specified by a user using the user interface 104 (FIG. 1). The chip-level floorplanning module 204 generates an initial chip floorplan from the gate-level netlist. The place and route module 206 generates an initial layout for the chip-level circuit using the initial chip floorplan and flat chip-level physical and timing constraints, which may be specified by a user using the user interface 104, and further generates flat chip-level timing constraints. The chip partitioning module 208 partitions the initial chip layout into various hierarchical block-level circuits, and generates block-level physical and timing constraints. The block implementation module 210 generates block implementations from the block definitions and block-level physical and timing constraints. The chip assembly module and top level implementation 212 assembles the block implementations, and may further optimize the assembled chip using chip-level constraints to generate a modified circuit design. The sign-off verification module 214 verifies that the modified circuit design performs to specification.

As discussed in more detail below, the chip partitioning module 208 generates block-level timing constraints for each block-level circuit, that are derived from the flat chip-level timing constraints and analysis. The block-level timing constraints are in the form of logical timing constraint points (hereinafter referred to as “logical TC points”) at the data input and/or output ports of each defined block-level circuit. Each logical TC point defines a clock source parameter for specifying a clock governing the propagation of data through a data path that passes through the block port, the delay parameter specifying a data propagation delay at the block port associated with a preceding or following block, and any applicable timing exceptions associated with the data path. Using the logical TC points, the block implementation module 210 performs timing analysis and/or optimization on the individual blocks to obtain implementations for the blocks. The derivation of the logical TC points from the chip-level timing constraints ensures that when the implemented blocks are subsequently assembled into the entire chip by the chip assembly and top level implementation module 210, timing closure for the entire chip can be achieved, and verified by the circuit sign-off verification module 212.

FIG. 3A illustrates a flow diagram of an exemplary method 300 of determining a logical TC point for a port of a block-level circuit in accordance with another embodiment of the invention. As alluded to above, the method 300 may be implemented in the chip partitioning module 208 to generate one or more logic TC points for each port of a defined block-level circuit. The one or more logical TC points are derived from the flat chip-level timing constraints and analysis. The method 300 is initially described with reference to the circuit diagrams shown in FIGS. 4A-C.

FIG. 4A illustrates an exemplary chip-level circuit 400 comprising one or more delay elements 402 coupled to the data input of a register 404, one or more delay elements 406 coupled to the data output of register 404 and to the data input of a register 408, and one or more delay elements 410 at the data output of register 408. The registers 404 and 408 are clocked by the same clock source Clk1. The delay element(s) described herein may include a number of delay elements including gates, combinational logic, transmission lines, capacitive loading, parasitics, etc. Although the registers illustrated herein are D-flip-flops, other types of registers, such as latches may be used in place thereof.

FIG. 4B illustrates an exemplary second block-level circuit 420 being a partition of the chip-level circuit 400. In particular, the second block-level circuit 420 comprises a portion 406-2 of the delay element(s) 406, the register 408, and the delay element(s) 410 of chip-level circuit 400. A logical TC point L_420 has been defined at an input port of the second block-level circuit 420.

FIG. 4C illustrates a first block-level circuit 440 being another partition of the chip-level circuit 400. In particular, the first block-level circuit 440 comprises the delay element(s) 402, the register 404, and the other portion 406-1 of the delay element(s) 406 of the chip-level circuit 400. A logical TC point L_440 has been defined at an output port of the first block-level circuit 440.

Referring back to FIG. 3A, according to the method 300, the chip partitioning module 208 determines the appropriate clock source parameter for the logical TC point from the flat chip-level constraint (302). While the registers 404 and 408 are shown being clocked by the same clock source Clk1 in FIG. 4A, they may be clocked by different clock sources. If the logical TC point relates to an input port of a block-level circuit, the appropriate clock source would be the clock used to clock data to the input port from a preceding block. In the example of FIGS. 4A-C, the appropriate clock source for logical TC point L_420 is Clk1 since it drives (clocks) register 404 to clock data from its output to the input port of block-level circuit 420. If the logical TC point relates to an output port of a block-level circuit, the appropriate clock source would be the clock used to drive (clock) the register which receives data from the output port. In the example of FIGS. 4A-C, the appropriate clock for logical TC point L_440 is Clk1 since it drives (clocks) register 408 which receives data from the output port of block-level circuit 440.

Also, according to the method 300, the chip partitioning module 208 determines the appropriate delay parameter for the logical TC point from the flat chip-level constraint (304). In the case that the logical TC point relates to an input port of a block-level circuit, the appropriate delay would be an effective delay related to the actual data propagation delay between the register of the preceding block and the input port of the block-level circuit. An exemplary way of calculating such an effective delay is to multiply the actual data propagation delay between the register of the preceding block-level circuit to the input port, with the ratio of the available data arrival time to the actual data arrival time for the data path between the preceding register and the following register. Taking the logical TC point L_420 of block-level circuit 420 as an example, the delay parameter Delay_(L) _(—) ₄₂₀ of logical TC point L_420 may be given as follows: Delay_(L) _(—) ₄₂₀=Actual_Delay_(404-L420)×Available_Time₄₀₄₋₄₀₈/Actual_Time₄₀₄₋₄₀₈ where Actual_Delay_(404-L420) is the data propagation delay between register 404 and the input port of block-level circuit 420 (e.g., the actual delay of delay element(s) 406-1), Available_Time₄₀₄₋₄₀₈ is the available data arrival time for path between the registers 404 and 408, and Actual_Time₄₀₄₋₄₀₈ is the actual data arrival time between the registers 404 and 408.

In the case that the logical TC point relates to an output port of a block-level circuit, the appropriate delay would be an effective delay related to the actual data propagation delay between output port of the block-level circuit and the register of the following block-level circuit. An exemplary way of calculating such an effective delay is to multiply the actual data propagation delay between the output port of the block-level circuit and the register of the following block-level circuit, with the ratio of the available data arrival time to the actual data arrival time for the data path between the preceding register and the following register. Taking the logical TC point L_440 of block-level circuit 440 as an example, the delay parameter Delay_(L) _(—) ₄₄₀ associated with logical TC point L_440 may be given as follows: Delay_(L) _(—) ₄₄₀=Actual_Delay_(L440-408)×Available_Time₄₀₄₋₄₀₈/Actual_Time₄₀₄₋₄₀₈ where Actual_Delay_(L404-408) is the data propagation delay between the logical TC point L_440 and the register 408 (e.g., the actual delay of delay element(s) 406-2), Available_Time₄₀₄₋₄₀₈ is the available data arrival time for path between the registers 404 and 408, and Actual_Time₄₀₄₋₄₀₈ is the actual data arrival time between the registers 404 and 408.

Further, according to the method 300, the chip partitioning module 208 determines whether there are any applicable timing exceptions associated with the logical TC point from the chip-level constraints (306). For example, the logical TC point may be associated with a multicycle path. In the example of FIGS. 4A-C, the data path between the registers 404 and 408 may be a multicycle path, i.e., the data propagation delay of the path is greater than a clock period of the clock Clk1. Other timing exceptions that the logical TC point may be associated with include false path, max delay, and min delay.

As an example of the derivation of block-level timing constraint from chip-level timing constraint, the chip-level timing constraint file (e.g., an .sdc file) for chip-level circuit 400 may specify a two (2)-cycle multicycle path for the data path between the registers 404 and 408 as follows:

Set_multicycle_path 2-from FF404/Q-to ptn1/FF408/D

Using the chip-level timing constraint, the chip partitioning module 208 may generate the following block-level timing constraints for block-level circuit 420:

Set_input_delay 5-clk clk1_L_420-port In

Set_multicycle_path 2-from clk1_L_420-through In-to ptn1/FF408/D

The first command specifies that the logical TC point L_420 at the input port of block-level circuit 420 specifies the clock source Clk1 and has a delay of five (5) nanoseconds. The chip partitioning module 208 may have determined the appropriate clock (e.g., Clk1) and delay (e.g., 5 nanoseconds) from the operations 302 and 304 discussed above. The second command specifies that the path from the logical TC point L_420 to the data input of the register 408 is a two (2)-cycle multicycle path. The chip partitioning module 208 may have determined this timing exception from the operation 306 discussed above.

Similarly, for block-level circuit 440, the chip partitioning module 208 may generate the following block-level constraints:

Set_output_delay 4-clk clk1_L_440-port out

Set_multicycle_path 2-from ptn1/FF404/Q through Out-to clk1_L_440

The first command specifies that the logical TC point L_440 at the output port of block-level circuit 440 specifies a clock source Clk1 and has an output delay of four (4) nanoseconds. The second command specifies that the path from the data output of the register 404 through the logical TC point L_440 is a two (2)-cycle multicycle path. The chip partitioning module 208 may have determined these parameters from the operations 302, 304 and 306 as discussed above.

After the block-level timing constraints have been determined, the block implementation module 210 performs timing analysis and any necessary optimization of the corresponding block-level circuit to meet the block-level timing constraints (308). Taking the block-level circuit 420 as an example, the block implementation module 210 performs timing analysis of the delay element(s) 406-2 using the logical TC point L_420 as a timing constraint. For example, if the delay associated with the logical TC point L_420 is five (5) nanoseconds, and the maximum data propagation delay between registers 404 and 408 is nine (9) nanoseconds, the block implementation module 210 performs timing analysis to determine whether the delay element(s) 406-2 introduces a data propagation delay of four (4) nanoseconds or less. If it does, the block implementation module 210 may not modify the delay element(s) 406-2. If it does not, the block implementation module 210 may optimize the delay element(s) 406-2 so that it introduces a delay of four (4) nanoseconds or less.

Taking the block-level circuit 440 as another example, the block implementation module 210 performs timing analysis of the delay element(s) 406-1 using the logical TC point L_440 as a timing constraint. For example, if the delay associated with the logical TC point L_440 is four (4) nanoseconds, and the maximum data propagation delay between registers 404 and 408 is nine (9) nanoseconds, the block implementation module 210 determines whether the delay element(s) 406-1 has a delay of five (5) nanoseconds or less. If it does, the block implementation module 210 may not modify the delay element(s) 406-1. If it does not, the block implementation module 210 may optimize the delay element(s) 406-2 so that it introduces a data propagation delay of five (5) nanoseconds or less.

In the example of FIGS. 4A-C, the input port of block-level circuit 420 is connected to only a single data path comprising the delay element(s) 406-2. In many cases, the input port may be connected to a plurality of data paths. In such a case, the delay parameter for the logical TC point may be based on the path that has the worst case slack to available data arrival time ratio. This is better explained with reference to the following example.

FIG. 5A illustrates a block diagram of an exemplary chip-level circuit 500 in accordance with another embodiment of the invention. It shall be understood that the chip-level circuit 500 may comprise substantially more components. The chip-level circuit 500 comprises one or more delay elements 502 coupled to the data input of a register 504; one or more delay elements 506 coupled to the data output of the register 504; one or more delay elements 508 coupled between the delay element(s) 506 and the data input of a register 510; one or more delay elements 512 coupled to the data output of the register 510; one or more delay elements 514 coupled between the delay element(s) 506 and the data input of register 516; and one or more delay elements 518 coupled to the data output of the register 516. In this example, the registers 504, 510, and 516 are clocked by the same clock source Clk1.

FIG. 5B illustrates a block diagram of an exemplary block-level circuit 520 in accordance with another embodiment of the invention. The block-level circuit 520 is one partition of the chip-level circuit 500, namely the partition to the right of delay element(s) 506. In particular, the block-level circuit 520 comprises delay element(s) 508, register 510, delay element(s) 512, delay element(s) 514, register 516, and delay element(s) 518. A logical TC point L_520 has been defined at the input port of the block-level circuit 520.

FIG. 5C illustrates a block diagram of an exemplary block-level circuit 540 in accordance with another embodiment of the invention. The block-level circuit 540 is another partition of the chip-level circuit 500, namely the partition to the left of delay elements 508 and 514. In particular, the block-level circuit 540 comprises delay element(s) 502, register 504, and delay element(s) 506. A logical TC point L_540 has been defined at the output port of the block-level circuit 540.

As in the prior example, the chip partitioning module 208 determines the parameters of the logical TC points L_520 and L_540 by performing the operations 302, 304 and 306 previously described with reference to FIG. 3A. In this regard, the chip partitioning module 208 determines the appropriate clock source for the logical TC points L_520 and L_540 (302). As previously discussed, if the logical TC point relates to an input port of a block-level circuit, the appropriate clock source would be the clock source used to clock the data to the input port from a preceding block-level circuit. Accordingly, the appropriate clock source for logical TC point L_520 is Clk1, since it drives register 504 to send the data to the input port of block-level circuit 520. If the logical TC point relates to an output port of a block-level circuit, the appropriate clock source would be the clock used to drive the register of the following block-level circuit which receives the data from the output port. Accordingly, the appropriate clock source for logical TC point L_540 is also Clk1 since it drives registers 510 and 516.

Also, as in the prior example, the chip partitioning module 208 determines the appropriate delay for the logical TC point (304). In the previous example of FIGS. 4A-C, there was only one delay path from register 404 to register 408. In this example, however, there are two delay paths: from register 504 to register 510, and register 504 to register 516. In cases where there are multiple paths, the chip partitioning module 208 chooses the path that has the worst case normalized slack to available data arrival time ratio. This is better explained with reference to the following example.

FIG. 3B illustrates a flow diagram of an exemplary method 350 of determining a delay parameter of a logical TC point in accordance with another embodiment of the invention. This method 350 applies when there are multiple paths, as in the case of the example of FIGS. 5A-C. According to the method 350, the chip portioning module 208 determines the available data arrival times for the multiple paths based on the flat chip-level timing analysis (352). As an example, the chip partitioning module 208 may have determined that the available data arrival time for the path from register 504 to register 510 is 10 nanoseconds, and the available data arrival time for the path from register 504 to register 516 is eight (8) nanoseconds.

The chip partitioning module 208 also determines the actual data arrival times for the multiple paths from the flat chip-level timing analysis (354). As an example, the chip partitioning module 208 may have determined that the actual data arrival time for the path from register 504 to register 510 is eight (8) nanoseconds, and the actual data arrival time for the path from register 504 to register 516 is seven (7) nanoseconds.

The chip partitioning module 208 then determines the respective slack to available data arrival time ratios for the multiple paths (356). The slack for a data path is equal to the available data arrival time minus the actual data arrival time. Taking the same example, the slack for the data path from register 504 to register 510 is equal to two (2) nanoseconds. Accordingly, the slack over available arrival time ratio for this path is 1/5. The slack for the data path from register 504 to 516 is equal to one (1) nanosecond. Accordingly, the slack over available arrival time ratio for this path is 1/8.

The chip partitioning module 208 then determines the path having the worst case slack to available arrival time ratio (358). In this example, the path having the worst slack to available arrival time ratio is the path from register 504 to 516 since its ratio (1/8) is less than the ratio (1/5) of the path from register 504 to 510. Accordingly, the chip partitioning module 208 selects the path from register 504 to 516 for the purpose of calculating the appropriate delay for the logical TC point L_520.

Using the data path having the worst case slack to available arrival time ratio, the chip partitioning module 208 determines the delay associated with the selected path (360). The delay for the logical TC point L_520 is given as follows: Delay_(L) _(—) ₅₂₀=Actual_Delay_(504-L520)×Available_Time₅₀₄₋₅₁₆/Actual_Time₅₀₄₋₅₁₆

Assuming the Actual_Delay_(504-L520) (e.g., the actual delay of delay element(s) 506) is three (3) nanoseconds, the Delay_(L) _(—) ₅₄₀ for logical TC point L_520 is 24/7 (3.86) nanoseconds.

Assuming the slack for path 504 to 516 is less than the slack for path 504 to 510, the delay for the logical TC point L_540 is given as follows: Delay_(L) _(—) ₅₄₀=Actual_Delay_(L540-516)×Available_Time₅₀₄₋₅₁₆/Actual_Time₅₀₄₋₅₁₆ Assuming the Actual_Delay_(L540-516) (e.g., the actual delay of delay element(s) 514) is four (4) nanoseconds, the Delay_(L) _(—) ₅₄₀ for logical TC point L_540 is 32/7 (4.57) nanoseconds.

Further, according to the method 300, the chip partitioning module 208 determines whether there are any applicable timing exceptions associated with the logical TC point from the chip-level constraints (306). For example, the logical TC point may be associated with a multicycle path. In the example of FIGS. 5A-C, the data paths between registers 504 and 510, and between registers 504 and 516 may be multicycle paths. Other timing exceptions that the logical TC point may be associated with include false path, max delay, and min delay.

As an example of the derivation of block-level timing constraint from chip-level timing constraint, the chip-level timing constraint file (e.g., an .sdc file) for chip-level circuit 500 may specify multicycle paths for the data paths between the registers 504 and 510, and 504 and 516 as follows:

Set_multicycle_path 2-from FF504/Q-to ptn1/FF510/D

Set_multicycle_path 3-from FF504/Q-to ptn1/FF516/D

Using the chip-level timing constraint, the chip partitioning module 208 may generate the following block-level timing constraints for block-level circuit 520:

Set_input_delay 3.86-clk clk1_L_520-port In

Set_multicycle_path 2-from clk1_L_520-through In-to ptn1/FF510/D

Set_multicycle_path 3-from clk1_L_520-through In-to ptn1/FF516/D

The first command specifies that the logical TC point L_520 at the input port of block-level circuit 520 uses clock source Clk1 and has an initial delay of 3.86 nanoseconds. The chip partitioning module 208 may have determined the appropriate clock (e.g., Clk1) and delay (e.g., 3.86 nanoseconds) from the operations 302 an 304 discussed above. The second command specifies that the path through the logical TC point L_520 to the data input of the register 510 is a two (2)-cycle multicycle path. The third command specifies that the path through the logical TC point L_520 to the data input of the register 516 is a three (3)-cycle multicycle path. The chip partitioning module 208 may have determined this timing exception from the operation 306 discussed above.

Similarly, for block-level circuit 540, the chip partitioning module 208 may generate the following block-level constraints:

Set_output_delay 4.57-clk clk1_L_540-port out

Set_multicycle_path 2-from ptn1/FF504/Q-through out-to clk1_L_540

The first command specifies that the logical TC point L_540 at the output port of block-level circuit 540 uses the clock source Clk1 and has an output delay of 4.57 nanoseconds. The second command specifies that the path from the data output of the register 504 through the logical TC point L_540 is a multicycle path. The chip partitioning module 208 may have determined these parameters from the operations 302, 304 and 306 as discussed above.

After the block-level timing constraints have been determined, the block implementation module 210 performs timing analysis and any necessary modification of the corresponding block-level circuit to meet the block-level timing constraints (308). Taking the block-level circuit 520 as an example, the block implementation module 210 performs timing analysis of the delay elements 508 and 514 with the logical TC point L_520 as a timing constraint. For example, based on an initial delay of 3.86 nanoseconds, the block implementation module 210 performs timing analysis to determine whether the delay elements 508 and 514 meet timing requirements, or require modification to meet timing requirements.

Similarly, the block implementation module 210 performs timing analysis of the delay element(s) 506 with the logical TC point L_540 as a timing constraint. For example, based on an initial delay of 4.57 nanoseconds, the block implementation module 210 performs timing analysis to determine whether the delay elements 506 meet timing requirements, or require modification to meet timing requirements.

In the example of FIGS. 5A-C, the input port of block-level circuit 520 is connected to two (2) paths including respectively delay elements 508 and 514, while the output port of block-level circuit 540 is connected to a single path including delay element(s) 506. In some cases, both the input and output ports of adjacent block-level circuits are connected to a plurality of data paths. Additionally, in the example of FIGS. 5A-C, a single clock source Clk1 is used to drive registers 504, 510, and 516. In some cases, registers may be clocked with different clock sources. The following example illustrates block-level circuits including respective input and output ports coupled to a plurality of data paths, as well as registers driven by different clock sources.

FIG. 6A illustrates a block diagram of an exemplary chip-level circuit 600 in accordance with another embodiment of the invention. It shall be understood that the chip-level circuit 600 may comprise substantially more components. The chip-level circuit 600 comprises one or more delay elements 602 coupled to the data input of a register 604; one or more delay elements 606 coupled to the data output of the register 604; one or more delay elements 608 coupled to the data input of a register 610; and one or more delay elements 612 coupled to the data output of the register 610. The chip-level circuit 600 further comprises one or more delay elements 614 coupled to the data input of a register 616; one or more delay elements 618 coupled to the data output of the register 618; one or more delay elements 620 coupled to the data input of a register 622; and one or more delay elements 624 coupled to the data output of the register 622. The delay elements 606 and 612 are coupled to delay elements 614, and 620. In this example, the registers 604, 616, and 622 are clocked by the same clock source Clk1, and register 610 is clocked by clock source Clk2.

FIG. 6B illustrates a block diagram of an exemplary block-level circuit 640 in accordance with another embodiment of the invention. The block-level circuit 640 is one partition of the chip-level circuit 600, namely the partition to the right of delay elements 606 and 612. In particular, the block-level circuit 620 comprises delay element(s) 614, register 616, delay element(s) 618, delay element(s) 620, register 622, and delay element(s) 624. A pair of logical TC points L_640 a and L640 b have been defined at the input port of the block-level circuit 640.

FIG. 6C illustrates a block diagram of an exemplary block-level circuit 660 in accordance with another embodiment of the invention. The block-level circuit 660 is another partition of the chip-level circuit 600, namely the partition to the left of delay elements 614 and 620. In particular, the block-level circuit 660 comprises delay element(s) 602, register 604, delay element(s) 606, delay element(s) 608, register 610, and delay element(s) 612. A pair of logical TC points L_660 a and L_660 b have been defined at the output port of the block-level circuit 660.

As in the prior examples, the chip partitioning module 208 determines the parameters of the logical TC points L_640 a-b and L_660 a-b by performing the operations 302, 304 and 306 previously described. In particular, the chip partitioning module 208 determines the appropriate clock source for the logical TC points L_640 a-b and L_660 a-b (302). As previously discussed, if the logical TC point relates to an input port of a block-level circuit, the appropriate clock source would be the clock source used to clock data to the input port from the preceding block-level circuit. However, in this example, there are two different clock sources Clk1 and Clk2 that clock data to the input port of block-level circuit 640. This is the reason that two logical TC points L_640 a-b are defined for the input port of block-level circuit 640. Accordingly, the appropriate clock source for logical TC point L_640 a is Clk1, and the appropriate clock source for logical TC point L_640 b is Clk2.

If the logical TC point relates to an output port of a block-level circuit, the appropriate clock source would be the clock used to drive the register of the following block-level circuit. In this example, a single clock source Clk1 drives the registers 616 and 622 of the following block-level circuit 660. Accordingly, the appropriate clock source for logical TC points L_660 a-b is Clk1. However, since two different clock source are used to propagate data through the output port of block-level circuit 660, two logical TC points L_660 a-b are defined for the output port.

Also, as in the prior examples, the chip partitioning module 208 determines the appropriate delay for the logical TC point (304). With regard to block-level circuit 640, there are two data paths for logical TC point L_640 a: from register 604 to register 616, and from register 604 to register 622. Also, there are two data paths for logical TC point L_640 b: from register 610 to register 616, and from register 610 to register 622. However, in this example, the flat chip-level constraints have defined the path from register 610 to register 622 as a false path. Thus, logical TC point L_640 b effectively has only a single delay path from register 610 to register 616.

As previously discussed, in cases where there are multiple paths, the block implementation module 210 chooses the path that has the worst case slack to available arrival time ratio. For the logical TC point L_640 a, the chip partitioning module 208 performs the operations 352-358 of the method 350 to determine the path with the worst case slack to available arrival time ratio, and operation 360 to determine the appropriate delay for the logical TC point L_640 a using the chosen path. For the logical TC point L_640 b, the chip partitioning module 208 need only perform the operation 360 for the single path to determine the appropriate delay for the logical TC point L_640 b. This is because the false path from register 610 to register 622 is not considered.

With regard to block-level circuit 660, there are two data paths for logical TC point L_660 a: from register 604 to register 616, and from register 610 to register 616. Also, there are two delay paths for logical TC point L_660 b: from register 604 to register 622, and from register 610 to register 622. However, as previously discussed, the flat chip-level constraints have defined the path from register 610 to register 622 as a false path. Thus, logical TC point L_660 b effectively has only a single data path from register 604 to register 616.

As discussed above, in cases of multiple paths, the chip partitioning module 208 chooses the path that has the worst case slack to available arrival time ratio. For the logical TC point L_660 a, the chip partitioning module 208 performs the operations 352-358 of the method 350 to determine the path with the worst case slack to available arrival time ratio, and operation 360 to determine the appropriate delay for the logical TC point L_660 a using the chosen path. For the logical TC point L_660 b, the chip partitioning module 208 need only perform the operation 360 for the single path to determine the appropriate delay for the logical TC point L_660 b.

The chip partitioning module 208 also determines whether there are any applicable timing exceptions associated with the logical TC point from the chip-level constraints (306). In this example, the chip-level constraints have defined the path from register 610 to register 622 as a false path. For illustration purposes, the chip-level constraints may have defined the remaining paths as multicycle paths.

According to the above example, the chip-level timing constraint file (e.g., an .sdc file) for chip-level circuit 600 may specify the following:

Set_multicycle_path 2-from FF604/Q-to ptn1/FF616/D

Set_multicycle_path 3-from FF604/Q-to ptn1/FF622/D

Set_multicycle_path2-from FF610/Q-to ptn1/FF616/D

Set_false_path-from FF610/Q-to ptn1/FF622/D

Assuming the delays determined for logical TC points L_640 a-b are five (5) and eight (8) nanoseconds, respectively, the chip partitioning module 208 may generate the following block-level timing constraints for block-level circuit 640:

Set_input_delay 5-clk clk1_L_640 a-port In

Set_multicycle_path 2-from clk1_L_640 a-through In-to ptn1/FF616/D

Set_multicycle_path 3-from clk1_L_640 a-through In-to ptn1/FF622/D

Set_input_delay 8-clk clk2_L_640 b-port In

Set_multicycle_path 2-from clk2_L_640 b-through In-to ptn1/FF616/D

Set_false_path-from clk2_L_640 b-through In-to ptn1/FF622/D

The first command specifies that the logical TC point L_640 a uses a clock source Clk1 and has an initial delay of five (5) nanoseconds. The second command specifies that the path from the logical TC point L_640 a to the data input of the register 616 is a two (2)-cycle multicycle path. The third command specifies that the path from the logical TC point L_640 a to the data input of the register 622 is a three (3)-cycle multicycle path. The fourth command specifies that the logical TC point L_640 b uses a clock source Clk2 and has an initial delay of eight (8) nanoseconds. The fifth command specifies that the path from the logical TC point L_640 b to the data input of the register 616 is a two (2)-cycle multicycle path. The sixth command specifies that the path from the logical TC point L_640 b to the data input of the register 622 is a false path.

After the block-level timing constraints for block-level circuit 640 have been determined, the block implementation module 210 performs timing analysis and any necessary optimization of the corresponding block-level circuit using the block-level timing constraints (308). In this regard, the block implementation module 210 performs timing analysis of the delay elements 614 and 620 using logical TC points L_640 a and L640 b as timing constraints. For example, based on input delays of five (5) and eight (8) nanoseconds, the block implementation module 210 performs timing analysis to determine whether the delay elements 614 and 620 meet timing requirements, or require modifying them to meet timing requirements.

With regard to block-level circuit 660, it is assumed that the delays determined for logical TC points L660 a-b are six (6) and nine (9) nanoseconds, respectively. Accordingly, the chip partitioning 208 may generate the following block-level constraints:

Set_output_delay 6-clk clk1_L_660 a-port Out

Set_multicycle_path 2-from ptn1/FF604/Q-through out-to clk1_L_660 a

Set_multicycle_path 3-from ptn1/FF610/Q-through out-to clk1_L_660 a

Set_output_delay 9-clk clk1_L_660 b-port Out

Set_multicycle_path 2-from ptn1/FF604/Q-through out-to clk1_L_660 b

Set_false_path-from ptn1/FF610/Q-through out-to clk1_L_660 b

The first command specifies that the logical TC point L_660 a uses the clock source Clk1 and has an output delay of six (6) nanoseconds. The second command specifies that the path from the output of register 604 to logical TC point L_660 a is a two (2)-cycle multicycle path. The third command specifies that the path from the output of register 610 to logical TC point L_660 a is a three (3)-cycle multicycle path. The fourth command specifies that the logical TC point L_660 b uses the clock source Clk1 and has an output delay of nine (9) nanoseconds. The fifth command specifies that the path from the output of register 604 to the logical TC point L_660 b is a two (2)-cycle multicycle path. The sixth command specifies that the path from the output of register 610 to the logical TC point L_660 b is a false path.

After the block-level timing constraints for block-level circuit 660 have been determined, the block implementation module 210 performs timing analysis and any necessary optimization of the corresponding block-level circuit to meet the block-level timing constraints (308). In this regard, the block implementation module 210 performs timing analysis of the delay elements 606 and 612 using the logical TC points L_660 a and L660 b as timing constraints. For example, based on input delays of six (6) and nine (9) nanoseconds, the block implementation module 210 performs timing analysis to determine whether the delay elements 606 and 612 meet timing requirements, or modifies them to meet timing requirements.

Although the partitioning of the chip-level circuit design into block-level circuit design was used to exemplify an embodiment of the invention, it shall be understood that the partitioning can occur at any level of abstraction. For example, the chip-level circuit design may have been partitioned into at least one first-level circuit design, and corresponding first-level timing constraints may have been generated. Then, the first-level circuit design may, in turn, have been partitioned into at least one second-level circuit design. In this case, the determination of a logical TC point for a port of the second-level circuit design may come from the timing constraints of the first-level circuit design, and not necessarily from the chip-level timing constraints.

While the invention has been described in connection with various embodiments, it will be understood that the invention is capable of further modifications. This application is intended to cover any variations, uses or adaptation of the invention following, in general, the principles of the invention, and including such departures from the present disclosure as come within the known and customary practice within the art to which the invention pertains. 

What is claimed is:
 1. A circuit design system comprising: a processor adapted to receive a chip-level circuit design and chip-level timing constraints thereof; partition the chip-level circuit design into at least a first block-level circuit design and a second block-level circuit design, wherein the first block-level circuit design includes an output port, and the second block-level circuit design includes an input port to couple to the output port of the first block-level circuit design; determine a first logical timing constraint point for the output port of the first block-level circuit design from the chip-level timing constraints of the chip-level circuit design, wherein the first logical timing constraint point comprises a second delay parameter associated with the second block-level circuit design and a second clock source parameter specifying a second clock source associated with the second block-level circuit design; determine a second logical timing constraint point for the input port of the second block-level circuit design from the chip-level timing constraints of the chip-level circuit design, wherein the second logical timing constraint point comprises a first delay parameter associated with the first block-level circuit design and a first clock source parameter specifying a first clock source associated with the second block-level circuit design; independently perform a block-level timing analysis of the first block-level circuit design using the first logical timing constraint point; independently perform a block-level timing analysis of the second block-level circuit design using the second logical timing constraint point; and if timing is not met by a block, then modify a design of the block to generate a modified block to meet block level timing.
 2. The circuit design system of claim 1, wherein, the second clock source parameter specifies a clock source that clocks a second register in the second block-level circuit design, wherein the second register receives data from the output port of the first block-level circuit design.
 3. The circuit design system of claim 1, wherein, the second delay parameter relates to a data propagation delay from the input port of the second block-level circuit design to an input of a second register in the second block-level circuit design.
 4. The circuit design system of claim 1, wherein the first logical timing constraint point further includes a first timing exception parameter indicating one or more of a multicycle path, a false path, a maximum delay, and a minimum delay associated with the data path through the point.
 5. The circuit design system of claim 1, wherein the first clock source parameter specifies a clock source that clocks a first register in the first block-level circuit design, wherein the first register drives data into the input port of the second block-level circuit design.
 6. The circuit design system of claim 1, wherein the first delay parameter relates to a data propagation delay from an output of a first register in the first block-level circuit design to the input port of the second block-level circuit design.
 7. The circuit design system of claim 1, wherein the second logical timing constraint point further includes a second timing exception parameter indicating one or more of a multicycle path, a false path, a maximum delay, and a minimum delay associated with the data path through the point.
 8. The circuit design system of claim 1, wherein the first logical timing constraint point is one of a first set of logical timing constraint points determined for the output port of the first block-level circuit design; two or more logical timing constraint points of the first set of logical timing constraint points respectively specify different clock sources, and the block-level timing analysis of the first block-level circuit design is independently performed using the first set of logical timing constraint points.
 9. The circuit design system of claim 1, wherein the second logical timing constraint point is one of a second set of logical timing constraint points determined for the input port of the second block-level circuit design, two or more logical timing constraint points of the second set of logical timing constraint points respectively specify different clock sources, and the block-level timing analysis of the second block-level circuit design is independently performed using the second set of logical timing constraint points.
 10. The method of claim 1, wherein the processor is further adapted to proportion delay elements between an output register and an input register of the chip-level circuit design into a first portion of delay elements and a second portion of delay elements, wherein the first portion of delay elements are coupled to an output of an output register within the first block-level circuit design and the second portion of delay elements are coupled to an input of an input register within the second block-level circuit design.
 11. A method of designing an integrated circuit chip, the method comprising: partitioning a flat top level netlist of an integrated circuit chip into a plurality of blocks of a hierarchical netlist; determining logical timing constraint points for output ports and input ports between the plurality of blocks in response to chip level timing constraints of the integrated circuit chip, wherein if the port is an input port then the logical timing constraint point specifies a clock source that clocks an output register driving data to the input port, a delay parameter specifying data propagation delay backward from the input port to the output register, and any timing exception associated with a data path through the input port, wherein if the port is an output port then the logical timing constraint point specifies a clock source that clocks an input register receiving data from the output port, a delay parameter specifying data propagation delay forward from the output port to the input register, and any timing exception associated with a data path through the output port; with a processor, performing an independent timing analysis at a block level for each of the plurality of blocks in response to the logical timing constraint points to determine if the timing of each of the plurality of blocks is met; and if timing is not met by a block, then modifying a design of the block to generate a modified block to meet block level timing.
 12. The method of claim 11, further comprising: re-assembling the plurality of blocks, including the modified block, into a modified chip-level circuit design for which timing closure can be achieved.
 13. The method of claim 11, wherein a timing exception is one or more of a multicycle path, a false path, a maximum delay, and a minimum delay associated with the data path through the port.
 14. The method of claim 11, wherein the partitioning of the flat top level netlist of the integrated circuit chip includes proportioning delay elements between an output register and an input register into a first portion of delay elements and a second portion of delay elements, wherein the first portion of delay elements are coupled to an output of the output register within a first block and the second portion of delay elements are coupled to an input of the input register within a second block. 